﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include "screen.h"
#include "grid.h"
#include <QtGui/QMainWindow>
#include <QMenu>
#include <QAction>


class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();
    EditScreen* edit;
    PlayScreen* play;

public slots:
    void newGame();
    void loadGame();
    void newGrid();
    void loadGrid();

protected:
    void closeEvent(QCloseEvent *);
};

#endif // MAINWINDOW_H
